package com.dearbinge.data.pojo.commodity.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * 商品评论DO
 *
 * @author wes
 * @date 2019/3/20
 */
public class CommodityCommentRequestVO implements Serializable {


    @ApiModelProperty(value = "规格id", required = true)
    private Integer specId;

    @ApiModelProperty(value = "评论内容", required = true)
    private String commentContent;

    @ApiModelProperty(value = "好评：1 中评：2 差评：3", required = true)
    private Integer commentLevel;

    @ApiModelProperty(value = "是否匿名（false：否 true：是）", required = true)
    private Boolean anonymousStatus;

    @ApiModelProperty(value = "评论图片对象", required = true)
    private List<CommodityCommentPicRequestVO> commentImages;


    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Integer getCommentLevel() {
        return commentLevel;
    }

    public void setCommentLevel(Integer commentLevel) {
        this.commentLevel = commentLevel;
    }

    public List<CommodityCommentPicRequestVO> getCommentImages() {
        return commentImages;
    }

    public void setCommentImages(List<CommodityCommentPicRequestVO> commentImages) {
        this.commentImages = commentImages;
    }

    public Boolean getAnonymousStatus() {
        return anonymousStatus;
    }

    public void setAnonymousStatus(Boolean anonymousStatus) {
        this.anonymousStatus = anonymousStatus;
    }


    @Override
    public String toString() {
        return "CommodityCommentRequestVO{" +
                ", specId=" + specId +
                ", commentContent='" + commentContent + '\'' +
                ", commentLevel=" + commentLevel +
                ", anonymousStatus=" + anonymousStatus +
                ", commentImages=" + commentImages +
                '}';
    }
}